{% extends "admin/base_site.html" %}
{% load i18n %}

{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/dashboard.css{% endblock %}
{% block coltype %}colMS{% endblock %}
{% block bodyclass %}dashboard{% endblock %}
{% block breadcrumbs %}{% endblock %}
{% block content %}
{% load adminmedia %}
<div id="content-main">

<SCRIPT>
function popUp(page,PWidth,PHeight,id) {
 eval("designerwiz"+id+"=window.open('"+page+"','designerwiz1','toolbar=0,scrollbars=0,location=0,status=0,menubars=0,resizable=0,width="+PWidth+",height="+PHeight+"')")

}
</SCRIPT>

{% if system %}
<table cellspacing="0" id="columns">
	<tr>
		<td>
			{% for app in system.mod %}
			<div class="portlet">
				<div class="portlet_topper">
					<a href="#" class="toggle"><img src="{% admin_media_prefix %}pics/botton2.png" />{% blocktrans with app.url as name %}{{ name }}{% endblocktrans %}
					<img src="{% admin_media_prefix %}pics/botton3.png" />
					</a>
				</div>
				<div class="portlet_content">
					<ul>
					{% for model in app.items %}
			
							{% if model.query %} 
							<p><a href= "{{ model.complete_url }}" blank=True>{{ model.url }}</a>
							&nbsp;
							{% else %}
							<p><a href="{{ model.complete_url }}">{{ model.url }}</a>
							&nbsp;
							<a href="{{ model.complete_url }}add/" class="addlink"></a>
							{% endif %}
							
							</p>
				           
					{% endfor %}
					</ul>
				</div>
			</div>
			{% if forloop.counter|divisibleby:"3" %}
				</td>
				<td>
			{% endif %}
			{% endfor %}
		</td>
	</tr>
</table>
{% else %}
    <p>{% trans "You don't have permission to edit anything." %}</p>
{% endif %}
</div>
{% endblock %}


{% block sidebar %}
<div id="content-related">
    
</div>
{% endblock %}
